﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartsRankSelect.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.PartsModel.PartsRankSelect" %>


<form id="pagerForm" method="post" action="PartsModel/PartsRankSelect.aspx">
<input type="hidden" name="RealName" value="<%=CardName %>" />
<input type="hidden" name="target" value="<%=target %>" />
<input type="hidden" name="rel" value="<%=rel %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="20" />
</form>
<form id="form1" runat="server" method="post" action="PartsModel/PartsRankSelect.aspx" onsubmit="return dialogSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    <input type="hidden" name="target" value="<%=target %>" />
<input type="hidden" name="rel" value="<%=rel %>" />
                    名称： <input name="CardName" type="text" value="<%=CardName %>"  />
                </td>
                <td>
                     <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="pageContent">
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="90" targetType="dialog">
        <thead>
            <tr  >                
               <th   width="100px">
                    经销商代码
                </th>
                <th   width="150px">
                    名称
                </th>
                  <th   width="100px">
                    定级
                </th>     
                <th width="120">
                    查找带回
                </th>                
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("RID") %>">
				<td><%# Eval("CardCode")%></td>
				<td ><%# Eval("CardName")%></td>             
                <td><%# Eval("Rank")%></td>
			    <td>
					<a class="btnSelect" href="javascript:$.bringBack({CardCode:'<%# Eval("CardCode") %>', CardName:'<%# Eval("CardName")%>',target:'<%=target %>',rel:'<%=rel %>'})" title="查找带回">选择</a>
				</td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
     <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="dialogPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="dialog" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
